#ifndef ENGINE_CLOCK_H
#define ENGINE_CLOCK_H
#include <apoget.h>
#include <Windows.h>

namespace Timing
{
	class POGET_API Clock
	{
		LARGE_INTEGER timeFrecuency;
		LARGE_INTEGER lastStartTime;
		LARGE_INTEGER deltaLastLap;
		float deltaTime;
	public:
		bool initialize();
		bool shutdown();
		void start();
		void stop();
		void lap();
		float lastLapTime() const;
	};
}

#endif